<template>
  <el-card class="box-card">
    <div class="title">
      <span>{{ title }}</span>
    </div>
    <slot name="module"></slot>
  </el-card>
</template>

<script>
  export default {
    props: ['title']
  }

</script>

<style lang="less" scoped>
  .box-card {
    border-radius: 15px;

    .title {
      height: 60px;
      background-color: rgba(0, 0, 0, 0.25);
      background: linear-gradient(#fbfbfb, #ececec);

      span {
        padding-left: 24px !important;
        line-height: 60px;
        color: #626262;
        font-size: 18px;
      }
    }
  }

</style>
